package top.xchch.creational.bridge;

public class FoldedPhone extends BasePhone {

    public FoldedPhone(IBrand brand) {
        super.setBrand(brand);
        System.out.println("折叠样式手机~~~");
    }

    @Override
    protected void open() {
        super.getBrand().open();
    }

    @Override
    protected void close() {
        super.getBrand().close();
    }

    @Override
    protected void call() {
        super.getBrand().call();
    }
}
